package router

import (
	ctrl "a-admin/web/controller"

	"github.com/gofiber/fiber/v2"
)

func InitSysOperlogRoutes(r fiber.Router) {
	server := ctrl.NewSysOperlogController()
	rg := r.Group("/system/operlog")
	{
		rg.Get("/list", server.List)
		rg.Post("/export", server.Export)
		rg.Delete("/clear", server.Clear)
	}
}
